package com.xcm.service.impl;

import com.xcm.dao.PollConfigMapper;
import com.xcm.model.TbPollConfig;
import com.xcm.service.PollConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 轮询配置Service实现类
 */
@Service(value = "pollConfigService")
public class PollConfigServiceImpl implements PollConfigService {
	@Autowired
	private PollConfigMapper pollConfigMapper;
	/**
	 * 获取所有轮询配置
	 * @return  List<TbPollConfig>
	 */
	@Override
	public List<TbPollConfig> getAllPollConfig() {
		return pollConfigMapper.getAllPollConfig();
	}
}
